<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\Company */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="company-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'company_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_plate')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_mdm_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_parent_mdm_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_hr_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_finance_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_import_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_market_if')->textInput() ?>

    <?= $form->field($model, 'company_abb')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_ct_start_date')->textInput() ?>

    <?= $form->field($model, 'company_ct_end_date')->textInput() ?>

    <?= $form->field($model, 'company_most_abb')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_longitude')->textInput() ?>

    <?= $form->field($model, 'company_latitude')->textInput() ?>

    <?= $form->field($model, 'company_update_reason')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_memo')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_hr_status')->textInput() ?>

    <?= $form->field($model, 'company_mdm_status')->textInput() ?>

    <?= $form->field($model, 'company_created_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_created_at')->textInput() ?>

    <?= $form->field($model, 'company_updated_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'company_updated_at')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
